FROM node:lts-alpine

ADD ./ht* /home/
ADD http://dl.hc-yun.com/soft/wait /wait
ADD entrypoint.sh /usr/local/bin/entrypoint.sh

WORKDIR /home/ht-3d-editor

EXPOSE 5889

ENTRYPOINT ["entrypoint.sh"]

CMD node server/server.js